package cn.tedu.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @ClassName EasyIdClient
 * @Description:类描述
 * @Author Tedu
 * @Date 2021/7/1 14:44
 * @Version V1.0
 **/
@FeignClient(name="easy-id")
public interface EasyIdClient {
    @GetMapping("/segment/ids/next_id")
    String nextId(@RequestParam String businessType);
}
